package com.guigu.tms.aggregation.service;

import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import com.guigu.tms.commons.aggregation.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author wj
 * @since 2022-10-21
 */
public interface IOrderService extends IService<Order> {

    int UpdateOrder(String end,String orderId);
    Order getOrderById(String id);

    PageInfo<Order> getOrders(Order order, Integer num, Integer size);
}
